using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Model
{
    public class LinkInfo
    {
        // Fields
        private int iLink_id;
        private int iLink_type;
        private int imenu_id;
        private string sIsdel;
        private string sLink_desc;
        private string sLink_pic;
        private string sLink_title;
        private string sLink_url;
        private int sSorted;
        private string starget;

        // Methods
        public LinkInfo()
        {
        }

        public LinkInfo(int Link_id, string Link_title, string Link_url, int Link_type)
        {
            this.Link_id = Link_id;
            this.Link_title = Link_title;
            this.Link_url = Link_url;
            this.Link_type = Link_type;
        }

        public LinkInfo(int link_id, string link_tille, string link_desc, string link_url, string spic, int link_type)
        {
            this.Link_id = link_id;
            this.Link_title = link_tille;
            this.Link_desc = link_url;
            this.Link_pic = spic;
            this.Link_type = link_type;
            this.Link_url = link_url;
        }

        // Properties
        public string IsDel
        {
            get
            {
                return this.sIsdel;
            }
            set
            {
                this.sIsdel = value;
            }
        }

        public string Link_desc
        {
            get
            {
                return this.sLink_desc;
            }
            set
            {
                this.sLink_desc = value;
            }
        }

        public int Link_id
        {
            get
            {
                return this.iLink_id;
            }
            set
            {
                this.iLink_id = value;
            }
        }

        public string Link_pic
        {
            get
            {
                return this.sLink_pic;
            }
            set
            {
                this.sLink_pic = value;
            }
        }

        public string Link_title
        {
            get
            {
                return this.sLink_title;
            }
            set
            {
                this.sLink_title = value;
            }
        }

        public int Link_type
        {
            get
            {
                return this.iLink_type;
            }
            set
            {
                this.iLink_type = value;
            }
        }

        public string Link_url
        {
            get
            {
                return this.sLink_url;
            }
            set
            {
                this.sLink_url = value;
            }
        }

        public int Menu_id
        {
            get
            {
                return this.imenu_id;
            }
            set
            {
                this.imenu_id = value;
            }
        }

        public int Sorted
        {
            get
            {
                return this.sSorted;
            }
            set
            {
                this.sSorted = value;
            }
        }

        public string target
        {
            get
            {
                return this.starget;
            }
            set
            {
                this.starget = value;
            }
        }

    }
}
